package com.dongdongshop.em;

public enum ConstantEnum {

    SUCCESS(10000,"操作成功"),
    ERROR(10001,"操作失败"),
    ARCS_NULL(10008,"参数为空");

    private Integer code;
    private String message;

    ConstantEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    ConstantEnum() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
